<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>项目管理</title>
    <link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/favicon.ico"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/common.css">

    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/extend/dtree.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/extend/font/dtreefont.css">

    <!-- 图标 -->
    <link rel="stylesheet" href="../../static/CaoMei/style.css">

</head>
<body>
    <div class="yadmin-body animated fadeIn">
        <form class="layui-form yadmin-search-area input">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label for="projectName" class="layui-form-label" style="width: auto">项目名称</label>
                    <div class="layui-input-inline">
                        <input type="text" name="projectName" autocomplete="off"
                               id="projectName" class="layui-input">
                    </div>

                    <button lay-submit="" lay-filter="search"
                            class="layui-btn search_btn layui-btn-sm layui-btn-primary table-action"
                            data-type="reload">
                        <i class="layui-icon layui-icon-search">搜索</i>
                    </button>
                </div>
            </div>
        </form>

        <table class="layui-hide" id="project-table"></table>
    </div>

    <script type="text/html" id="column-toolbar">
        {{# if(d.ifJoin=="0"){ }}
        <button type="button" class="layui-btn layui-btn-normal layui-btn-xs site-demo-active" lay-event="join">
            <i class="layui-icon layui-icon-add-circle" title="加入"></i>
            加入
        </button>
        {{#  } }}
        {{# if(d.ifJoin=="1"){ }}
        <button type="button" class="layui-btn layui-btn-sm layui-btn-disabled" lay-event="">
            <i class="layui-icon layui-icon-close" title="已加入"></i>
            已加入
        </button>
        {{#  } }}

    </script>


    <script src="${pageContext.request.contextPath}/js/jquery.js"></script>
    <script src="${pageContext.request.contextPath}/layui/layui.js"></script>

    <script>
        var userId = '${user.id}';
        var trueName = '${user.trueName}';
    </script>
    <script src="${pageContext.request.contextPath}/js/project/member-project.js"></script>
</body>
</html>